package org.ly.uap.client.proxy;

import java.util.TimerTask;

public final class CleanUpTimerTask extends TimerTask {
    private final ProxyGrantingTicketStorage proxyGrantingTicketStorage;

    public CleanUpTimerTask(ProxyGrantingTicketStorage proxyGrantingTicketStorage) {
        this.proxyGrantingTicketStorage = proxyGrantingTicketStorage;
    }

    public void run() {
        this.proxyGrantingTicketStorage.cleanUp();
    }
}

